export interface ILoginRequest {
  username: string;
  password: string;
  code: string;
  verify: any;
}

export type IFindUserRequest = undefined;

export interface IFindUserResponseData {
  username?: string;
  id?: string;
  email?: string;
  phone?: string;
}

export interface IFindUserResponse {
  code: number;
  data: IFindUserResponseData;
  msg: string;
}

export interface ILoginResponse {
  email: String;
  phone: String;
  password: String;
  nickname: String;
  name: String;
  gender: String;
  birthday: String;
  address: String;
  job: String;
  edu: String;
  salary: String;
  sign: String;
}

export type ILogoutRequest = undefined;

export interface ILogoutResponse {
  code: number;
  data: any;
  msg: string;
}

export interface IEnrollRequest {
  username: string;
  password: string;
  code: string;
  verify: any;
}

export interface IEnrollResponse {
  msg: string;
  code: number;
  data: any;
}

export interface ISavePwdRequest {
  username: string;
  password: string;
  code: string;
  verify: any;
}

export interface ISavePwdResponse {
  code: number;
  data: any;
  msg: string;
}
